using Engine.OldSerialization;

namespace RuthlessConquest {
    public class RefusedMessage : Message {
        public class Serializer : ISerializer<RefusedMessage> {
            public void Serialize(InputArchive archive, ref RefusedMessage value) {
                archive.Serialize("Reason", ref value.Reason);
            }

            public void Serialize(OutputArchive archive, RefusedMessage value) {
                archive.Serialize("Reason", value.Reason);
            }
        }

        public string Reason;
    }
}